<template>
  <div>
    <el-dialog title="用药配置" :visible.sync="dialogVisible" width="1300px">
      <el-form :inline="true" label-width="80px">
        <el-form-item label="商品名称">
          <el-input v-model="listQuery.goodsName"></el-input>
        </el-form-item>

        <el-form-item label="批准文号">
          <el-input v-model="listQuery.approvalNumber"></el-input>
        </el-form-item>

        <el-form-item label="生产厂家">
          <el-input v-model="listQuery.approvalNumber"></el-input>
        </el-form-item>

        <el-form-item label="类型">
          <el-input v-model="listQuery.approvalNumber"></el-input>
        </el-form-item>

        <el-form-item label="是否上架">
          <el-select v-model="listQuery.name" placeholder="请选择">
            <el-option label="--" value="0" />
            <el-option label="是" value="1" />
            <el-option label="否" value="2" />
          </el-select>
        </el-form-item>

        <el-form-item>
          <el-button type="primary">搜索</el-button>
        </el-form-item>
      </el-form>

      <el-table :data="list" height="250" border style="width: 100%">
        <el-table-column prop="productName" label="商品名称">
         
        </el-table-column>

        <el-table-column prop="specification" label="类型">
         
        </el-table-column>

        <el-table-column prop="approvalNumber" label="生产厂家">
         
        </el-table-column>

        <el-table-column prop="productionFactory" label="产品规格">
         
        </el-table-column>

        <el-table-column prop="shortName" label="批准文号">
        
        </el-table-column>

        <el-table-column prop="resellPrice" label="是否上架">

        </el-table-column>

        <el-table-column align="center" label="操作">
          <el-button type="text"></el-button>
        </el-table-column>
      </el-table>

      <span slot="footer" class="dialog-footer">
        <el-button @click="dialogVisible = false">取 消</el-button>
        <el-button type="primary" @click="submit()">保 存</el-button>
      </span>
    </el-dialog>
  </div>
</template>

<script>
export default {
  name: "dialogDrugDeploy",
  components: {},
  data() {
    return {
      dialogVisible: false,
      list: [],
      listQuery: {
        currentPage: 1,
        showCount: 10,
        goodName: "",
        approvalNumber: "",
        productionFactoryName: "",
        goodsTypeStr: ""
      }
    };
  },
  created() {
    this.getList();
  },

  methods: {
    open(row) {
      this.getList();
      this.dialogVisible = true;
    },
    getList() {
    }
  }
};
</script>

<style scoped>
</style>